import axiosInstance from "../api";

// 获取所有字典值
export const getAllDictListApi = () => {
  return axiosInstance.post(`/base/dict/type/all/option`);
};

// 通用上传接口
export const uploadFileApi = (params) => {
  return axiosInstance.post(
    `/base/upload/${params.uploadEnum}`,
    params.formData
  );
};
